package cn.cvs.eduservice.service;

import cn.cvs.eduservice.entity.EduCourse;
import cn.cvs.eduservice.entity.vo.CourseInfoVo;
import cn.cvs.eduservice.entity.vo.CourseQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface EduCourseService extends IService<EduCourse> {
    String saveCourseInfo(CourseInfoVo courseInfoVo);

    CourseInfoVo getCourseInfoVoById(String id);

    void updateCourseInfo(CourseInfoVo courseInfoVo);

    Page<CourseInfoVo> pageQuery(Page<CourseInfoVo> pageParam, CourseQuery courseQuery);

    boolean removeCourseById(String id);
}
